﻿using www.Data.DAO;
using www.Models;

namespace www.Data.BO
{
    public class PhotoValueBO
    {
        #region value
        private readonly PhotoValueDAO _photoValueDao = new PhotoValueDAO();
        #endregion

        #region Hàm lấy dữ liệu

        #endregion

        #region Hàm Add
        public void Add(PHOTO_VALUE photoValue)
        {
            _photoValueDao.Add(photoValue);
        }

        #endregion

        #region Hàm Update
        public bool Update(PHOTO_VALUE photoValue)
        {
            return _photoValueDao.Update(photoValue);
        }
        #endregion

        #region Hàm Delete
        public void Delete(long iId, long iLanguageCode)
        {
            _photoValueDao.Delete(iId, iLanguageCode);
        }
        #endregion
    }
}